package com.wondersgroup.wuhan_demo.util;

/**
 * Created by liyaqing on 2018/5/11 0011.
 */

public class IdCardUtil {
    public  static String tmIdCard(String sfzh){
        int size=sfzh.length();
        StringBuilder stringBuilder=new StringBuilder();
        stringBuilder.append(sfzh.substring(0,3));
        stringBuilder.append("***********");
        stringBuilder.append(sfzh.substring(size-4,size));
        return stringBuilder.toString();
    }
}
